﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="Controls_LeftMenu" Codebehind="LeftMenu.ascx.cs" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="Core.Controls" Namespace="Core.Controls.DataReader" TagPrefix="core" %>
    <div class="controlLast">
    <asp:Label ID="Label1" runat="server" Text="Delegate Account"></asp:Label>
        <telerik:RadComboBox ID="cboUsername"  AutoPostBack="true"
              Filter="Contains" DataSourceID="dtsUserList" DataTextField="Code" DataValueField="ID"
              HighlightTemplatedItems="true" DropDownWidth="250"
             runat="server" Width="50%"
            onselectedindexchanged="cboUsername_SelectedIndexChanged">
            <HeaderTemplate>
                <ul class="comboHeader">
                    <li class="name">
                        <asp:Label ID="Label2" runat="server" Text="Tên đăng nhập" 
                            meta:resourcekey="Label2Resource1"></asp:Label>
                    </li>
                    
                    <li class="divClear"></li>
                </ul>
            </HeaderTemplate>
            <ItemTemplate>
                <ul class="comboItem">
                    <li class="name"><%#DataBinder.Eval(Container.DataItem, "Name")%></li>
                </ul>
            </ItemTemplate>
        </telerik:RadComboBox>
        <core:coredatasource ID="dtsUserList"  runat="server" SelectMethod="GetAccountbyUser" 
        TypeName="vHCS.SYS.Business.SYS_DelegateCollection" MaximumRowsParameterName="" EnableCaching=false>
            
        </core:coredatasource>    
    </div>


<telerik:RadPanelBar ID="RadLeftMenuFavor" runat="server" Width="100%">
  
</telerik:RadPanelBar>
<telerik:RadPanelBar ID="RadLeftMenu" runat="server" Width="100%">
  
</telerik:RadPanelBar>

<asp:TextBox ID="txtCurrentLink" runat="server" Visible="false"></asp:TextBox>
